package cn.cnsy123.blog.application.dao;

import cn.cnsy123.blog.application.entity.ArticleInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;
import java.util.Optional;

public interface ArticleInfoRepository extends JpaRepository<ArticleInfo,Long> {

    Optional<ArticleInfo> findByDataId(Long dataId);


}
